#include <iostream>
using namespace std;

int main()
{
    cout.setf(ios::fixed);
    cout.setf(ios::showpoint);
    cout.precision(4);

    bool test = true;
    double pi = 3.14159;
    char letter;

    cout << "This is a C++ program\n"
    "=================================================================" << endl;
    if (test) 
        cout << "Number Pi = " << pi << endl;
    cerr << "Enter a letter: ";
    cin >> letter;
    cout << "My favourite letter is " << letter << endl;

    return 0;
}